> > 'hi ',
> > 'there'
> >
> > and had been confused by the output words being joined instead of
> > appearing on separate lines, and thought I was trying the wrong
> > approach.
>
> I think you're using 3.2? IIRC, that's one difference between 3.2 and
> 4.0: in 4.0 those strings would automatically become separate lines.
>
> With 3.2, you can generate multi-line output in any of at least three
> ways: you can put newlines directly into strings (no escaping needed),
> or use codepoints-to-string(), or wrap each string in a computed text
> node: text { 'hi' }.
Yes, we are still on 3.2.2. I appear to be having some difficulty using
the techniques you listed, I'm not able to get multi-line output on any
of these queries:
"hi
there"
,
'hi
there'
,
codepoints-to-string((104,105,10,116,104,101,114,101))
,
for $t in ('hi', 'there')
return
text { concat($t, ' ') }
I'm running it through Oxygen though, so I need to go check that it
isn't introducing some variablity into my test.
Jim
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
James A. Robinson [email protected]
Stanford University HighWire Press http://highwire.stanford.edu/
+1 650 7237294 (Work) +1 650 7259335 (Fax)
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general