|
Home > Online Product Documentation > Table of Contents > Adjusting Fixed-Width Regions Adjusting Fixed-Width RegionsIf you specify the layout of the file you are converting as fixed-width, Stylus Studio uses a default row length of 80 characters. (If you let Stylus Studio determine the file layout, Stylus Studio will attempt to determine record length based on the line terminating character, if any.) You might need to adjust the row length of a region if your input file uses a different row length, or when converting a line-oriented region, like the one shown in Figure 167, to fixed-width.
There are several ways to specify the row length for a fixed-width region:
Each of these methods lets you explicitly set the row length. Alternatively, you can specify a Line Terminator character manually, as shown in Figure 168.
Specifying a Line Terminator character means that the rows in the region can be of variable length, based on the where the specified Line Terminator character occurs in the record.
ExampleAfter converting the line-oriented region shown in Figure 167 to fixed-width, it looks like this:
Figure 167 shows the same fixed-width file after it has been resized by dragging the document pane.
|
Varying Record Layout to XML
Not every row in a text file has to have the same layout. Convert to XML has advanced pattern-recognition tools to route the data to where it belongs.
Stylesheet Design - How to Publish your Data Using a Stylesheet Designer
Simplify Stylesheet Design with Stylus Studio's XML Publisher, a visual stylesheet designer and code generator to help you create XSLT or XQuery to publish your data to HTML+CSS or XSL:FO.
XML Editing Views
Stylus Studio includes three synchronized XML editing views: Text View, Tree View, and Grid View, allowing you to work with and edit XML documents in whatever way suits you best.
W3C XML Specifications
Learn about the official W3C XML specifications for XML, XSLT, XQuery, XPath, DOM, XML Namespaces, XInclude, XML Base, XPointer, WSDL and more.


