boolean logic and transformation
Are you missing a feature? Request its implementation here.
-
- Posts: 4
- Joined: Wed Nov 05, 2003 7:46 pm
boolean logic and transformation
Post by agashirazi »
Hey guys,
First of all, I think its great we have a FREE forum thats actually out to help others.
Guys, I have an XML file with three tags i.e. <author>. Now I want to reinsert this into another XML file using an XSL query. I use the same value-of command, but it just gets the first author from the XML file, and pastes it thrice. I know why this is happening, but I do not want to go back and rename the author tags in the first XML file to author1, author2 and author3. Is there any other way out of it?
And one last thing. In my first XML file I have <INFO> that contains a title and year. Is there anyway I can seperate these two i.e. place them into two different tags?
Once again, im really appreciative of this.
Thanks a million
Aga Shirazi
First of all, I think its great we have a FREE forum thats actually out to help others.
Guys, I have an XML file with three tags i.e. <author>. Now I want to reinsert this into another XML file using an XSL query. I use the same value-of command, but it just gets the first author from the XML file, and pastes it thrice. I know why this is happening, but I do not want to go back and rename the author tags in the first XML file to author1, author2 and author3. Is there any other way out of it?
And one last thing. In my first XML file I have <INFO> that contains a title and year. Is there anyway I can seperate these two i.e. place them into two different tags?
Once again, im really appreciative of this.
Thanks a million
Aga Shirazi
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Dear Aga,
For the first part see my reply on your post on the "Common Problems" forum.
It should be possible to extract the title and the year.
Have a look at:
http://saxon.sourceforge.net/saxon6.5.3 ... sions.html
You will find there functions that you can use for obtaining the length of a string, to obtain a sunstring, etc.
Best Regards,
George
P.S. Please consider posting such question on our user list rather than on the forum as they are off topic here, the "Common Problems" and the "Feature Request" forums are supposed to deal with oXygen problems and not with general XSL issues.
For the first part see my reply on your post on the "Common Problems" forum.
It should be possible to extract the title and the year.
Have a look at:
http://saxon.sourceforge.net/saxon6.5.3 ... sions.html
You will find there functions that you can use for obtaining the length of a string, to obtain a sunstring, etc.
Best Regards,
George
P.S. Please consider posting such question on our user list rather than on the forum as they are off topic here, the "Common Problems" and the "Feature Request" forums are supposed to deal with oXygen problems and not with general XSL issues.
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