Page 1 of 1

XML, XPATH and XSLT support

Posted: Fri Apr 21, 2006 2:16 pm
by imed-edition
Some of the xml features requests to bugzilla and votes since 2004:

http://support.runrev.com/bugdatabase/s ... gi?id=1893
http://support.runrev.com/bugdatabase/s ... gi?id=2252

...but never been addressed. Absolute silence from Runrev! At least developers would been grateful to get information from Runrev intention to deliver xml related technology. If Runrev tells us clearly that they are not willing to offer xml technology, third parties could invest in xternal development...

I join others who think it's really strange for an application like Revolution to not have those modern features and it is incomprehensible that Runrev does not react to such feature requests.

Posted: Tue Apr 25, 2006 9:06 pm
by pevensen
Are the order of siblings defined in an XML file? I don't think it is, so it shouldn't matter where revXMLAddNode inserts a node, unless I'm not understanding the purpose of the proposed revInserXMLNode.

If I have:

/Root/SomeParent/ChildNode[1]
/Root/SomeParent/ChildNode[2]

if I want to insert another ChildNode, it shouldn't matter if it comes before or after ChildeNode[2].

XML, XPATH and XSLT support

Posted: Wed Apr 26, 2006 7:00 am
by imed-edition
pevensen wrote:Are the order of siblings defined in an XML file? I don't think it is, ...
Of course it is! depending on your model...

In http://www.w3.org/TR/2004/REC-xml11-20040204/ it is stated that for tag «the order of attribute specifications in a start-tag or empty-element tag is not significant». BUT for element it depends on the purpose you want, for example it is stated that «the sequence of child elements belongs to the language generated by the regular expression in the content model» and «a sequence list MUST each appear in the element content in the order given in the list». Therefore depending on your model if children of an element is an ordered sequence, then in your xml file you HAVE TO be able to insert a child element between two sibblings to reorder when necessary.

And if you are not convinced, read http://www.w3schools.com/tags/tag_ol.asp about HTML/XHTML <ol> tag which defines the start of an ordered list.

Definitely the revInsertXMLNode is a MUST feature.

Posted: Wed Apr 26, 2006 6:03 pm
by pevensen
I did go through the w3schools XML tutorial, but hadn't read teh w3 specification. I stand corrected :). Thanks for pointing this info out!

I hadn't considered the example of <ol>, which is a good one.

Now I see the benefits for revInsertXMLNode.