oxygenxml

Is it possible that a directory copied and pasted to a particular directory using XHTML plugin in DITA OT 1.8.5

怎甘沉沦 提交于 2020-01-06 15:17:33
问题 Is it possible that a directory or a file copying from 'resource' folder in org.dita.xhtml to out put folder generated by the XHTML DITA OT transform. If its possible using xsl changes in plugin its possible means provide me the code. Any other way is there means please guide me the steps to do. Please assist me. 回答1: You should use the depend.preprocess.post extension point, or another one that fits your needs, to call a new Ant target. plugin.xml <plugin id="com.example.extendchunk">

Can't select XML attributes with Oxygen XQuery implementation; Oxygen XPath emits result

▼魔方 西西 提交于 2019-12-11 03:36:00
问题 I learned that every Xpath expression is also a valid Xquery expression. I'm using Oxygen 16.1 with this sample XML: <actors> <actor filmcount="4" sex="m" id="15">Anderson, Jeff</actor> <actor filmcount="9" sex="m" id="38">Bishop, Kevin</actor> </actors> My expression is: //actor/@id When I evaluate this expression in Oxygen with Xpath 3.0, I get exactly what I expect: 15 38 However, when I evaluate this expression with Xquery 3.0 (also 1.0), I get the message: "Your query returned an empty

XSLT checking values in multiple nodes

寵の児 提交于 2019-12-10 11:53:18
问题 I have the following XML, which I need to extract the param value based on a child node attribute using XSLT. In this case extract a list of the activities my students are part of: XML <students> <student id="1000020001"/> <student id="1000020002"/> </students> <activities> <activity name="yoga beginners" start="2016-10-12" end="2016-12-17"> <members> <member id="1000020001"/> </members> </activity> <activity name="yoga intermediate" start="2017-10-12" end="2017-12-17"> <members> <member id=

What is the regular expression for the set of strings that validate exactly the same for xsd:token and xsd:string?

*爱你&永不变心* 提交于 2019-12-08 04:21:43
问题 I want write an XSD to restrict the content of valid XML elements of type xsd:token such that at validation they would indistinguishable from the same content wrapped in xsd:string. I.e. they do not contain the carriage return (#xD), line feed (#xA) nor tab (#x9) characters, begin or end with a space (#x20) character, and do not include a sequence of two or more adjacent space characters. I think the regular expression to use is this: \S+( \S+)* (some non-whitespace, optional [single spaces

Why is Oxygen generating child elements with empty xmlns attributes?

≡放荡痞女 提交于 2019-12-02 17:14:48
问题 I am trying to grasp the technical side of working with the default namespace, when starting with a schema (developing one) and considering a realistic and correct corresponding XML file. I am using Oxygen to design the schema. Ideally, I would like that the user of the XML files do not have to deal with the default namespace (because they are painful, when trying to use XPath on documents which have declared the default namespace). However, from what I read so far, it seems that is not

Why is Oxygen generating child elements with empty xmlns attributes?

余生长醉 提交于 2019-12-02 07:45:01
I am trying to grasp the technical side of working with the default namespace, when starting with a schema (developing one) and considering a realistic and correct corresponding XML file. I am using Oxygen to design the schema. Ideally, I would like that the user of the XML files do not have to deal with the default namespace (because they are painful, when trying to use XPath on documents which have declared the default namespace). However, from what I read so far, it seems that is not possible? My example schema looks like this: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs=

How do I ensure unique element values in an XML schema?

三世轮回 提交于 2019-11-28 02:35:02
问题 I want to ensure that there are no duplicate book titles in the following xml: <?xml version="1.0" encoding="UTF-8"?> <books xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="books3.xsd"> <book> <title>Book1</title> </book> <book> <title>Book2</title> </book> <book> <title>Book1</title> <!-- duplicate should not be allowed --> </book> </books> I am using the following schema: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001

Is it an error to import the same XSD multiple times?

梦想与她 提交于 2019-11-28 02:22:26
I have a schema (a) that imports another schema (z). Then I have yet another schema (b) that imports that same schema (z). It happens so that XML document (d) conforming to schema (a) can also contain an optional element that conforms to schema (z). In consequence, when (d) is validated in .NET, I'm having exception "The simpleType 'z:x' has already been declared." But there is no exception in Oxygen. I'd like to configure .net the way it does NOT throw this exception. Just to behave like Oxygen. How? The problem arises due to the XSD Recommendation allowing, but not requiring, conformant

Is it an error to import the same XSD multiple times?

一曲冷凌霜 提交于 2019-11-26 23:44:22
问题 I have a schema (a) that imports another schema (z). Then I have yet another schema (b) that imports that same schema (z). It happens so that XML document (d) conforming to schema (a) can also contain an optional element that conforms to schema (z). In consequence, when (d) is validated in .NET, I'm having exception "The simpleType 'z:x' has already been declared." But there is no exception in Oxygen. I'd like to configure .net the way it does NOT throw this exception. Just to behave like