Search found 30 matches
Search found 30 matches
• Page 1 of 1
- by mariomueller
- Thu Mar 21, 2019 10:40 am
- Forum: Common Problems
- Topic: Update Saxon in oxygen XML Editor
- Replies: 1
- Views: 1268
Update Saxon in oxygen XML Editor
Hi all,
we detected an error using Saxonica XPAth 2.0 and forwarded it to Saxonica.
https://saxonica.plan.io/issues/4172
Saxonica resolved the issue. Could anybody please tell me, how to update oxagen with the latest Saxonica bugfix?
Thanks
Regards
Mario
we detected an error using Saxonica XPAth 2.0 and forwarded it to Saxonica.
https://saxonica.plan.io/issues/4172
Saxonica resolved the issue. Could anybody please tell me, how to update oxagen with the latest Saxonica bugfix?
Thanks
Regards
Mario
- by mariomueller
- Wed Nov 07, 2018 9:11 am
- Forum: Feature Request
- Topic: Validate XPATH expressions of errourneous XML
- Replies: 1
- Views: 2577
Validate XPATH expressions of errourneous XML
Hi, if a XML is assigned to a XSD and the XML is not valid, it is not possible to check XPATH expressions in the "XPath/XQuery Baumeister". Let's asume the following case. You got an expression in the XSD like <xsd:assert test="(sum(Z11/S_QTY/C_C186/D_6060 | Z12/S_QTY/C_C186/D_6060 | ...
- by mariomueller
- Thu Aug 23, 2018 6:40 am
- Forum: XSLT and FOP
- Topic: count different child elements
- Replies: 3
- Views: 2672
Re: count different child elements
Hi Radu,
many thanks. As you can see I found the same solution 1 minute later
Regards
Mario
many thanks. As you can see I found the same solution 1 minute later
Regards
Mario
- by mariomueller
- Wed Aug 22, 2018 9:33 am
- Forum: XSLT and FOP
- Topic: count different child elements
- Replies: 3
- Views: 2672
Re: count different child elements
Got it:
count(/A/B1 | /A/B2)
count(/A/B1 | /A/B2)
- by mariomueller
- Wed Aug 22, 2018 9:26 am
- Forum: XSLT and FOP
- Topic: count different child elements
- Replies: 3
- Views: 2672
count different child elements
Hi all, I got a XML like <?xml version="1.0" encoding="UTF-8"?> <A> <B1> </B1> <B1> </B1> <B2> </B2> <B2> </B2> <B3> </B3> </A> How can I count the sum of all <B1> and <B2> nodes? count(count(/A/B1) and count(/A/B2)) --> 1 which is wrong count(/A/B1 and /A/B2) --> 1 which is wron...
- by mariomueller
- Wed Aug 08, 2018 12:36 pm
- Forum: General XML Questions
- Topic: get node depending of parent position (but nodename of parent is unknown)
- Replies: 1
- Views: 2364
get node depending of parent position (but nodename of parent is unknown)
Hi all, we have different XML files where we want to extract the value of a node with name <S_NAD> depending on the current position We know that <S_NAD>-node is a grandchild of the root. Example <?xml version="1.0" encoding="UTF-8"?> <book> <unknownName> <S_NAD>some content</S_N...
- by mariomueller
- Mon Jul 23, 2018 12:36 pm
- Forum: General XML Questions
- Topic: Give back parents per children
- Replies: 1
- Views: 2084
Re: Give back parents per children
Hi ,
I got a solution
returns:
Thanks
Regards
Mario
I got a solution
Code: Select all
//author!parent::book/path()
Code: Select all
/Q{}bookstore[1]/Q{}book[1]
/Q{}bookstore[1]/Q{}book[2]
/Q{}bookstore[1]/Q{}book[2]
/Q{}bookstore[1]/Q{}book[2]
/Q{}bookstore[1]/Q{}book[2]
Regards
Mario
- by mariomueller
- Mon Jul 23, 2018 11:29 am
- Forum: General XML Questions
- Topic: Give back parents per children
- Replies: 1
- Views: 2084
Give back parents per children
Hi , I have a XML like <?xml version="1.0" encoding="UTF-8"?> <bookstore> <book category="cooking"> <title lang="en">Everyday Italian</title> <author>Giada De Laurentiis</author> </book> <book category="web"> <title lang="en">XQuery Kick St...
- by mariomueller
- Tue Jun 05, 2018 12:17 pm
- Forum: General XML Questions
- Topic: combine (concat) two XPATH (path(.) and the text())
- Replies: 2
- Views: 19964
Re: combine (concat) two XPATH (path(.) and the text())
Hi,
thanks. Works fine!
Regards
Mario
thanks. Works fine!
Regards
Mario
- by mariomueller
- Tue Jun 05, 2018 8:56 am
- Forum: General XML Questions
- Topic: combine (concat) two XPATH (path(.) and the text())
- Replies: 2
- Views: 19964
combine (concat) two XPATH (path(.) and the text())
Hi all, I got two XPATH wich I which to concat You can use the XML on https://www.w3schools.com/xml/books.xml First XPATH gives back the Path of the nodes /bookstore/book/author/path(.) Second XPATH gives back values /bookstore/book/author/text() Is it possible to concat the results of both XPATH? M...
- by mariomueller
- Thu May 24, 2018 12:41 pm
- Forum: General XML Questions
- Topic: XPATH 1.0 workaround for /ABC/XYZ/text()=('9','293','305','332')
- Replies: 5
- Views: 4262
Re: XPATH 1.0 workaround for /ABC/XYZ/text()=('9','293','305','332')
Hi Radu, thanks for the hint. The XPATH has no syntax error and works with XPATH1.0 : contains(/M_UTILMD/G_SG2/S_NAD[D_3035='MS']/C_C082/D_3055/text(), '293') But - asuming the value in the XML would be X293X, the expression return true although 293 is not X293X It is just a contains, not an equals ...
- by mariomueller
- Thu May 24, 2018 11:52 am
- Forum: General XML Questions
- Topic: XPATH 1.0 workaround for /ABC/XYZ/text()=('9','293','305','332')
- Replies: 5
- Views: 4262
Re: XPATH 1.0 workaround for /ABC/XYZ/text()=('9','293','305','332')
Sorry, that does not work.
The expression with the ORs does always return true, although the value in the XML is totally different.
Could anybody please help?
Regards
Mario
The expression with the ORs does always return true, although the value in the XML is totally different.
Could anybody please help?
Regards
Mario
- by mariomueller
- Thu May 24, 2018 11:12 am
- Forum: General XML Questions
- Topic: XPATH 1.0 workaround for /ABC/XYZ/text()=('9','293','305','332')
- Replies: 5
- Views: 4262
Re: XPATH 1.0 workaround for /ABC/XYZ/text()=('9','293','305','332')
I got it:
/ABC/XYZ/text()=('9'or '293' or'305' or '332')
/ABC/XYZ/text()=('9'or '293' or'305' or '332')
- by mariomueller
- Thu May 24, 2018 11:07 am
- Forum: General XML Questions
- Topic: XPATH 1.0 workaround for /ABC/XYZ/text()=('9','293','305','332')
- Replies: 5
- Views: 4262
XPATH 1.0 workaround for /ABC/XYZ/text()=('9','293','305','332')
Hi all,
the following expression works only in XPATH 2.0
Is there any workaroud to do this in XPATH 1.0?
Thanks
Regards
Mario
the following expression works only in XPATH 2.0
Code: Select all
/ABC/XYZ/text()=('9','293','305','332')
Thanks
Regards
Mario
- by mariomueller
- Fri May 04, 2018 8:40 am
- Forum: XML Schemas
- Topic: Generate XML from XSD with relative path
- Replies: 1
- Views: 2728
Generate XML from XSD with relative path
Hi,
when I use Tools > Generate XML Sample, then the schema location is absolute
Is there an option to make the location relative by default?
Thanks
Regards
Mario
when I use Tools > Generate XML Sample, then the schema location is absolute
Is there an option to make the location relative by default?
Thanks
Regards
Mario
- by mariomueller
- Wed May 02, 2018 7:32 am
- Forum: XML Schemas
- Topic: Re-Validate: Button?
- Replies: 11
- Views: 6659
Re: Re-Validate: Button?
Hi Adrian,
it worked! Thanks a lot, we bought a permanent key
Regards Mario
it worked! Thanks a lot, we bought a permanent key
Regards Mario
- by mariomueller
- Sat Apr 28, 2018 6:30 am
- Forum: XML Schemas
- Topic: Re-Validate: Button?
- Replies: 11
- Views: 6659
Re: Re-Validate: Button?
Hi Adrian,
thanks for the very good and quick support. If you find reasons to speed up the performance, please let me know.
Regards
Mario
thanks for the very good and quick support. If you find reasons to speed up the performance, please let me know.
Regards
Mario
- by mariomueller
- Fri Apr 27, 2018 12:49 pm
- Forum: XML Schemas
- Topic: Re-Validate: Button?
- Replies: 11
- Views: 6659
Re: Re-Validate: Button?
Hi adrian,
many thanks for the good work. I changed from 99999 to unbounded. But the error check still takes a lot of time (> 2 minutes).
How many minutes/seconds did your error check last?
Thanks
Regards
Mario
many thanks for the good work. I changed from 99999 to unbounded. But the error check still takes a lot of time (> 2 minutes).
How many minutes/seconds did your error check last?
Thanks
Regards
Mario
- by mariomueller
- Fri Apr 27, 2018 10:45 am
- Forum: XML Schemas
- Topic: Re-Validate: Button?
- Replies: 11
- Views: 6659
Re: Re-Validate: Button?
Hi Adrian,
I used the "technical contact" form and submitted already.
Regards Mario
I used the "technical contact" form and submitted already.
Regards Mario
- by mariomueller
- Fri Apr 27, 2018 10:23 am
- Forum: XML Schemas
- Topic: Re-Validate: Button?
- Replies: 11
- Views: 6659
Re: Re-Validate: Button?
Hi Adrian,
I did what you told without any improvement. Is it possible to upload the XSD and the XML so you could do a check?
Regards
Mario
I did what you told without any improvement. Is it possible to upload the XSD and the XML so you could do a check?
Regards
Mario
- by mariomueller
- Fri Apr 27, 2018 8:59 am
- Forum: XML Schemas
- Topic: Re-Validate: Button?
- Replies: 11
- Views: 6659
Re: Re-Validate: Button?
Hi adrian,
thanks for your reply. Seems to work. But now I got another problem. The validation takes 3 Minutes!
The XSD and the XML are both local files (no network traffic)
The XSD has 12925 lines! In XMLSPY it takes just a second. Do I something wrong?
Thanks
Regards
Mario
thanks for your reply. Seems to work. But now I got another problem. The validation takes 3 Minutes!
The XSD and the XML are both local files (no network traffic)
The XSD has 12925 lines! In XMLSPY it takes just a second. Do I something wrong?
Thanks
Regards
Mario
- by mariomueller
- Fri Apr 27, 2018 7:27 am
- Forum: XML Schemas
- Topic: Re-Validate: Button?
- Replies: 11
- Views: 6659
Re-Validate: Button?
Hi all, I am new to the editor and I wonder how to re-validate a XML after a modification in the XML? I had an error in a XML that refers to a XSD. After fixing the error in the XML and saving the XML, the error statement is still in the "oXygen task bar". What do I have to do, that a re-v...
- by mariomueller
- Mon Feb 19, 2018 12:53 pm
- Forum: XML Schemas
- Topic: Please explain XPATH "Require XML element in XSD when another element has certain value?"
- Replies: 2
- Views: 2861
Re: Please explain XPATH "Require XML element in XSD when another element has certain value?"
Hi,
i got it. OR is logical OR. Means: At least one expression must be true
When TYPE = 'INTERNATIONAL' the left side is false. So the right side 'IBAN' must be true.
<xs:assert test="not(TYPE = 'INTERNATIONAL') or IBAN"/>
Regards Mario
i got it. OR is logical OR. Means: At least one expression must be true
When TYPE = 'INTERNATIONAL' the left side is false. So the right side 'IBAN' must be true.
<xs:assert test="not(TYPE = 'INTERNATIONAL') or IBAN"/>
Regards Mario
- by mariomueller
- Fri Feb 16, 2018 6:39 pm
- Forum: XML Schemas
- Topic: Please explain XPATH "Require XML element in XSD when another element has certain value?"
- Replies: 2
- Views: 2861
Please explain XPATH "Require XML element in XSD when another element has certain value?"
Hi all, on https://stackoverflow.com/questions/37071177/require-xml-element-in-xsd-when-another-element-has-certain-value I found an example for "Require XML element in XSD when another element has certain value?" In the solution is the XPATH: <xs:assert test="not(TYPE = 'INTERNATIONA...
- by mariomueller
- Thu Feb 15, 2018 4:37 pm
- Forum: XML Schemas
- Topic: make field mandatory depending on values
- Replies: 3
- Views: 14061
Re: make field mandatory depending on values
Got it: Schema: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" elementFormDefault="qualified" attributeFormDefault="unqualified" vc:minVer...
- by mariomueller
- Thu Feb 15, 2018 3:31 pm
- Forum: XML Schemas
- Topic: make field mandatory depending on values
- Replies: 3
- Views: 14061
Re: make field mandatory depending on values
Hi Adrian,
thanks for your reply. As I am just starting with XSD 1.1 the example you gave is to complicated for me. I didn't get it.
I need a easy example; but I am not sure what words I should take for googeling
Regards
Mario
thanks for your reply. As I am just starting with XSD 1.1 the example you gave is to complicated for me. I didn't get it.
I need a easy example; but I am not sure what words I should take for googeling
Regards
Mario
- by mariomueller
- Thu Feb 15, 2018 7:48 am
- Forum: XML Schemas
- Topic: make field mandatory depending on values
- Replies: 3
- Views: 14061
make field mandatory depending on values
Hi all, could anybody plaese provide an example, how to make a parent element mandatory if one of its children has a special value? e.g. how could I make element name="book" = minOccurs = 1 if name="title" would be "The Hobbit" <xsd:schema xmlns:xsd="http://www.w3....
- by mariomueller
- Thu Feb 15, 2018 6:44 am
- Forum: General XML Questions
- Topic: shorten a XPATH expression (or-junction)
- Replies: 3
- Views: 3411
Re: shorten a XPATH expression (or-junction)
Hi adrian,
I found it. This works:
<xsd:assert test="G_SG8/G_SG10/S_CCI[D_7059='Z01']/D_4051=('Z30','Z31')"/>
Regards
Mario
I found it. This works:
<xsd:assert test="G_SG8/G_SG10/S_CCI[D_7059='Z01']/D_4051=('Z30','Z31')"/>
Regards
Mario
- by mariomueller
- Thu Feb 15, 2018 6:32 am
- Forum: General XML Questions
- Topic: shorten a XPATH expression (or-junction)
- Replies: 3
- Views: 3411
Re: shorten a XPATH expression (or-junction)
Hi Adrian,
thanks for your reply. Unfortunatelly this does not work
Regards
Mario
thanks for your reply. Unfortunatelly this does not work
Regards
Mario
- by mariomueller
- Wed Feb 14, 2018 3:33 pm
- Forum: General XML Questions
- Topic: shorten a XPATH expression (or-junction)
- Replies: 3
- Views: 3411
shorten a XPATH expression (or-junction)
Hi all, is there a way to write to expression <xsd:assert test="(G_SG8/G_SG10/S_CCI[D_7059='Z01']/D_4051='Z30') or (G_SG8/G_SG10/S_CCI[D_7059='Z01']/D_4051='Z31') " /> in a shorter way like e.g. (the following is not working, as also Z99 would be valid and I don't no why?) <xsd:assert test...
Search found 30 matches
• Page 1 of 1
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service