Register  Login       Search  
Forum  
 
  
 
Forum  Forum     
 
SearchForum Home
  XML Lab Products  nxslt  -pp has no effe...
 -pp has no effect on a WordML doc
 
charrington
3 posts
Joined
7/19/2006

-pp has no effect on a WordML doc
Posted: 19 Jul 06 12:56 PM (United States)
I am trying to pretty print a Word XML doc. It comes out like

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?mso-application progid="Word.Document"?>
<w:wordDocument ... >
  w:macrosPresent="no"
  w:embeddedObjPresent="no"
  w:ocxPresent="no"
  xml:space="preserve">
  <o:SmartTagType
    o:namespaceuri="urn:schemas-microsoft-com:office:smarttags"
    o:name="stockticker" />
  <o:DocumentProperties>
    <o:Version>10.2625</o:Version>
  </o:DocumentProperties>
<w:fonts>
<w:defaultFonts
      w:ascii="Times New Roman"
      w:fareast="Times New Roman"
      w:h-ansi="Times New Roman"
      w:cs="Times New Roman" /></w:fonts>
<w:lists>
<w:listDef
      w:listDefId="0">
<w:lsid
        w:val="014C7D89" />
<w:plt

....


Not what I was expecting from prettyprint. Any ideas?

Chris
charrington
3 posts
Joined
7/19/2006

Re: -pp has no effect on a WordML doc
Posted: 19 Jul 06 1:16 PM (United States)
I'll answer my own posting. WordML doc had xml:space="preserve"

  XML Lab Products  nxslt  -pp has no effe...
Forum Home  Search