English 中文(简体)
Does QExo XQuery string-join work?
原标题:
  • 时间:2009-11-22 20:38:11
  •  标签:
  • xquery

When I run string-join, I get a weird output like this:

<clinic>
  <Name>Olive Street Pediatrics</Name>
  <Address>1500 Olive St, Los Angeles, CA 90015</Address>
  <PhoneNumberList> u04bc , u04e4 </PhoneNumberList>
  <NumberOfPatientGroups>4</NumberOfPatientGroups>
</clinic>

Notice the PhoneNumberList.

The output reported by Altova XMLSpy looks correct (using the same XQuery file)

<clinic>
    <Name>Olive Street Pediatrics</Name>
    <Address>1500 Olive St, Los Angeles, CA 90015</Address>
    <PhoneNumberList>213-512-7457,213-512-7465</PhoneNumberList>
    <NumberOfPatientGroups>4</NumberOfPatientGroups>
</clinic>

Does string-join work on Qexo?

I use kawa-1.9.1.jar

问题回答

In this case Altova is producing the correct result. The bug is with Qexo.

Running the query in another processor (XQSharp) produced the same result as Altova.





相关问题
XQuery, fn:id and BD eXist

Does "fn:id" function return IDREFS when it is used in a FLOWER xquery with eXists database? I can t get any example... :(

SQL Server xQuery return NULL instead of empty

So in this example I m trying to return a NULL instead of an empty nvarchar for element2 and element3. I can t seem to find an answer to this anywhere, or if it s even possible. I know I can check ....

Does QExo XQuery string-join work?

When I run string-join, I get a weird output like this: <clinic> <Name>Olive Street Pediatrics</Name> <Address>1500 Olive St, Los Angeles, CA 90015</Address> <...

XQuery: how to properly append , in for loop

So I have xml data like this: <PhoneNumber>213-512-7457</PhoneNumber> <PhoneNumber>213-512-7465</PhoneNumber> and with this XQuery: <PhoneNumberList> { for $...

Filter SQL queries on the XML column using XPath/XQuery

I m having a table with one XML column. I d like to filter out the rows where a specific attribute in the XML match a string, essentially doing a WHERE or HAVING. The table looks something like this ...

热门标签