E
Eric Safern
Hi,
We're considering using Word 2003 as an xml editor to create and modify xml documents authored in our existing schema.
The problem is, we make heavy use of attributes in our xml, and these are not visible in the default data view.
To elaborate, our xml looks something like this:
<textelement id="question1">
Who are you?
</textelement><textelement id="question2">
Where do you live?
</textelement>
etc.
This shows up as
<<textelement>>Who are you?<<textelement>><<textelement>>Where do you live?<<textelement>>
Without the 'id' attributes being visible, I can't tell one element from the next when editing the xml without right-clicking on each element.
If I used an xslt, I could generate some kind of new xml file with the attributes visible. But wouldn't that change the actual xml so that the schema would be changed when I went to save the xml?
I suppose I could then write another xslt to re-transform the data into the old schema before I save, but that seems like a pain. Is there another way?
Thanks,
Eric Safern
We're considering using Word 2003 as an xml editor to create and modify xml documents authored in our existing schema.
The problem is, we make heavy use of attributes in our xml, and these are not visible in the default data view.
To elaborate, our xml looks something like this:
<textelement id="question1">
Who are you?
</textelement><textelement id="question2">
Where do you live?
</textelement>
etc.
This shows up as
<<textelement>>Who are you?<<textelement>><<textelement>>Where do you live?<<textelement>>
Without the 'id' attributes being visible, I can't tell one element from the next when editing the xml without right-clicking on each element.
If I used an xslt, I could generate some kind of new xml file with the attributes visible. But wouldn't that change the actual xml so that the schema would be changed when I went to save the xml?
I suppose I could then write another xslt to re-transform the data into the old schema before I save, but that seems like a pain. Is there another way?
Thanks,
Eric Safern